package us.team.openAnAppAtRandom.model;

import java.io.Serializable;

/**
 * 应用项模型类
 */
public class AppItem implements Serializable {
    private String appName; // 应用名称
    private String packageName; // 包名
    
    public AppItem(String appName, String packageName) {
        this.appName = appName;
        this.packageName = packageName;
    }
    
    public String getAppName() {
        return appName;
    }
    
    public void setAppName(String appName) {
        this.appName = appName;
    }
    
    public String getPackageName() {
        return packageName;
    }
    
    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }
    
    @Override
    public String toString() {
        return appName + " (" + packageName + ")";
    }
}